#include "TypeEnum.hpp"
#include <vector>

using namespace std;

TypeEnum::TypeEnum(vector<string> v) {
    listEnum = new vector<string> (v);
}

TypeEnum::~TypeEnum() {
}

std::string TypeEnum::getClass(){
    string retour="";
    for (unsigned int i=0;i<listEnum->size(); i++){
        if(i!=0) retour += ",";
        retour += listEnum->at(i);
    }
    return "enumeration{"+retour+"}]";
}
